package com.tanhua.manager.utils;

import com.tanhua.manager.pojo.UsersFreeze;

public class UserFreezeThreadLocal {

    private static final ThreadLocal<UsersFreeze> LOCAL = new ThreadLocal<>();

    private UserFreezeThreadLocal(){}

    public static  void set(UsersFreeze userFreeze){
        LOCAL.set(userFreeze);
    }

    public static UsersFreeze get(){
        return  LOCAL.get();
    }
}
